package com.beamfield.dao.device;

import com.beamfield.model.DeviceDebugRecord;
import com.beamfield.model.DeviceDebugRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceDebugRecordMapper {
    int countByExample(DeviceDebugRecordExample example);

    int deleteByExample(DeviceDebugRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(DeviceDebugRecord record);

    int insertSelective(DeviceDebugRecord record);

    List<DeviceDebugRecord> selectByExample(DeviceDebugRecordExample example);

    DeviceDebugRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") DeviceDebugRecord record, @Param("example") DeviceDebugRecordExample example);

    int updateByExample(@Param("record") DeviceDebugRecord record, @Param("example") DeviceDebugRecordExample example);

    int updateByPrimaryKeySelective(DeviceDebugRecord record);

    int updateByPrimaryKey(DeviceDebugRecord record);

    List<DeviceDebugRecord> selectByInboundId(@Param("inboundId") Long inboundId);
}